body {
  /* position: relative; */
  max-width: 640px;
  min-width: 320px;
  width: 100%;
  margin: 0 auto;
  line-height: 1.5;
  font-size: 12px;
  color: #666;
  background-color: #fff;
  font-family: -apple-system, "Helvetica Neue", sans-serif;
}

header {
  overflow: hidden;
  position: relative;
  background-color: #e43130;
  width: 100%;
  height: 44px;
}

.btn {
  position: absolute;
  top: 0;
  left: 0;
  height: 44px;
  width: 50px;
  text-align: center;
}

.btn>a img {
  width: 20px;
  vertical-align: middle;
  margin-top: 14px;
}

/* 搜索框 */
.r {
  position: absolute;
  top: 0;
  right: 0;
  height: 44px;
  width: 50px;
  color: #fff;
  text-align: center;
  line-height: 44px;
}

.search {
  position: relative;
  height: 30px;
  margin: 7px 50px;
  border-radius: 15px;
  background-color: #fff;
}

.llogo::after {
  content: "";
  display: block;
  position: absolute;
  right: -10px;
  top: 0;
  width: 1px;
  height: 15px;
  background-color: #666666;
}

.rs {
  position: absolute;
  left: 50px;
  top: 8px;
  width: 18px;
  height: 15px;
  background: url(../images/jd-sprites.png) -81px 0 no-repeat;
  background-size: 200px auto;
}

input {
  position: absolute;
  left: 75px;
  top: 0;

  width: 65%;
  height: 30px;

  background-color: #fff;
  color: #666;
}

/* 轮播图 */
.banner {
  width: 100%;
}

.banner img {
  width: 100%;
}

.nav ul {
  overflow: hidden;
  width: 100%;
  height: 165px;
}

.nav ul li {
  float: left;
  width: 20%;
  height: 80px;
  text-align: center;
}

.nav ul li img {
  width: 40px;
  padding: 10px 0px;
}

/* 新闻 */
.news {
  max-width: 640px;
  min-width: 320px;
  /* width: 100%; */
  width: 100%;
  height: 42px;
}

.re {
  color: red;
  padding-right: 10px;
  line-height: 42px;
}

.quan {
  display: inline-block;
  width: 50%;
  /* height: 16px; */
  /* word-wrap: break-word; */
  vertical-align: middle;
  overflow-x: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #666;
}

.more {
  /* position: relative;
  right: 5px; */
  display: inline-block;
  float: right;
  margin-top: 15px;
  padding: 0 10px;
  line-height: 12px;
  border-left: solid 1px #aaaaaa;
  color: #000;
}

.more::before {
  /* position: absolute;
  right: 0px;
  top: 0px; */
  content: "";
  width: 1px;
  height: 12px;
  background-color: #666;
}

.news img {
  /* float: left; */
  vertical-align: middle;
  height: 12px;
  padding: 0 10px;
}

/* 优惠 */
.bargin {
  width: 100%;
  overflow: hidden;
}

.bargin div {
  float: left;
  border-radius: 5px;
}

.bargin>div:nth-child(1) {
  height: 113px;
  width: 48%;
  margin: 0 1%;
  background: url(../upload/bargin1.png) no-repeat;
  background-size: cover;
}

.bargin>div:nth-child(3) {
  height: 113px;
  width: 23%;
  margin: 0 0.96%;
  /* border-left: 1px solid #aaa; */
  background: url(../upload/bargin.png) no-repeat top center;
  background-size: cover;
}

.bargin>div:nth-child(5) {
  height: 113px;
  width: 23%;
  margin: 0 1%;
  background: url(../upload/bargin3.png) no-repeat;
  background-size: cover;
}

/* .bargin > div:nth-child(-n + 2)::after {
  content: "";
  position: relative;
  left: 5px;
  width: 1px;
  height: 113px;
  background-color: #aaa;
}
.shu::after {
  content: "";
  position: relative;
  left: 5px;
  width: 1px;
  height: 113px;
  background-color: #aaa;
} */
.bargin>div:nth-child(2) {
  width: 0.02%;
  height: 113px;
  background-color: #aaa;
  border-radius: 0px;
}

.bargin>div:nth-child(4) {
  width: 0.02%;
  height: 113px;
  background-color: #aaa;
  border-radius: 0px;
}

/* 小院 */
.yuan {
  width: 100%;
  height: 42px;
  text-align: center;
  background-color: #f5f5f5;
}

.yuan>img {
  height: 42px;
}

.yuanzi {
  height: 220px;
  overflow: hidden;
}

.yuanzi ul li {
  height: 110px;
  float: left;
  border-right: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  text-align: center;
}

.yuanzi ul li:nth-child(2) {
  border-right: 1px solid transparent;
}

.yuanzi ul li:nth-child(6) {
  border-right: 1px solid transparent;
}

.yuanzi ul li:nth-child(-n + 2) {
  width: 50%;
}

.yuanzi ul li:nth-child(n + 3) {
  width: 25%;
}

.yuanzi ul li img {
  height: 65px;
  margin: 5px 0;
}

.yuanzi ul li h3 {
  font-weight: normal;
}

.yuanzi ul li p {
  color: #648eff;
}

/* 底部 */
footer ul li {
  float: left;
  height: 55px;
  width: 20%;
  text-align: center;
  color: #666;
}

footer ul li img {
  height: 25px;
  margin: 5px 0;
}

footer ul li:nth-child(3) img {
  height: 43px;
}

.llogo {
  position: absolute;
  top: 8px;
  left: 13px;
  width: 20px;
  height: 15px;
  background: url(../images/jd.png) no-repeat;
  background-size: 20px 15px;
}